//
//  ShopDetailViewController.h
//  OrderSeat
//
//  Created by wangwei on 13-10-8.
//  Copyright (c) 2013年 wangwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TabBarController.h"
#import "ShopHomeViewController.h"

@class ShopDetailDataSource;
@interface ShopDetailViewController : BaseViewController<TabBarControllerDelegate>

@property (strong, nonatomic) IBOutlet UIView *firstView;
@property (strong, nonatomic) IBOutlet UIView *secondView;
@property (strong, nonatomic) IBOutlet UIView *lastView;
@property (strong, nonatomic) IBOutlet UIScrollView *theScrollview;

@property (strong, nonatomic) IBOutlet UITextView *shopNameLabel;
@property (strong, nonatomic) IBOutlet UITextView *telLabel;
@property (strong, nonatomic) IBOutlet UITextView *addressLabel;
@property (strong, nonatomic) IBOutlet UILabel *caixiLabel;
@property (strong, nonatomic) IBOutlet UITextView *jieshaoLabel;
@property (strong, nonatomic) IBOutlet UILabel *workTimeLabel;
@property (strong, nonatomic) IBOutlet UILabel *priceLabel;
@property (weak, nonatomic) IBOutlet UILabel *unitLabel;
@property (strong, nonatomic) IBOutlet UILabel *youhuiLabel;
@property (strong, nonatomic) IBOutlet UILabel *renqiLabel;
@property (strong, nonatomic) IBOutlet UILabel *luxianLabel;
@property (strong, nonatomic) IBOutlet UILabel *orderLabel;
@property (strong, nonatomic) IBOutlet UILabel *commentsLabel;

@property (strong, nonatomic) NSString *shopId;
@property (strong, nonatomic) ShopHomeViewController *parentController;
@property (strong, nonatomic) ShopDetailDataSource   *dataSource;

- (id)initWithShopId:(NSString*)shopId;

@end

@interface ShopDetailDataSource : BaseDataSource

@property (nonatomic, strong) ShopDetailViewController *viewController;

- (void)fetchShopDetailInfo;

@end
